from PyQt6.QtWidgets import QApplication, QWidget, QLabel
from PyQt6.QtGui import QFont
import sys

app = QApplication(sys.argv)

window = QWidget()
window.show()
window.setWindowTitle("无聊的一天")
window.resize(400, 400)
window.move(100, 300)

font = QFont()
font.setFamily('宋体')
font.setBold(True)
font.setPointSize(30)

label = QLabel()
label.setFont(font)
label.setText("Hello World")
label.setParent(window)
label.move(100, 300)
label.show()
sys.exit(app.exec())